package com.qj.yantaishan.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.qj.yantaishan.common.annotation.Excel;
import com.qj.yantaishan.common.core.domain.BaseEntity;

/**
 * 商品关联属性id对象 shanglala_product_to_property
 * 
 * @author qihe
 * @date 2022-07-22
 */
public class ProductToProperty
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Integer pigcmsId;

    /** 店铺id */
    @Excel(name = "店铺id")
    private Integer storeId;

    /** 商品id */
    @Excel(name = "商品id")
    private Integer productId;

    /** 商品属性id */
    @Excel(name = "商品属性id")
    private Integer pid;

    /** 排序 */
    @Excel(name = "排序")
    private Integer orderBy;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long addTime;

    /** 1未删除，0已经假删除 */
    @Excel(name = "1未删除，0已经假删除")
    private Integer isOn;

    public void setPigcmsId(Integer pigcmsId) 
    {
        this.pigcmsId = pigcmsId;
    }

    public Integer getPigcmsId() 
    {
        return pigcmsId;
    }
    public void setStoreId(Integer storeId) 
    {
        this.storeId = storeId;
    }

    public Integer getStoreId() 
    {
        return storeId;
    }
    public void setProductId(Integer productId) 
    {
        this.productId = productId;
    }

    public Integer getProductId() 
    {
        return productId;
    }
    public void setPid(Integer pid) 
    {
        this.pid = pid;
    }

    public Integer getPid() 
    {
        return pid;
    }
    public void setOrderBy(Integer orderBy) 
    {
        this.orderBy = orderBy;
    }

    public Integer getOrderBy() 
    {
        return orderBy;
    }
    public void setAddTime(Long addTime) 
    {
        this.addTime = addTime;
    }

    public Long getAddTime() 
    {
        return addTime;
    }
    public void setIsOn(Integer isOn) 
    {
        this.isOn = isOn;
    }

    public Integer getIsOn() 
    {
        return isOn;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("pigcmsId", getPigcmsId())
            .append("storeId", getStoreId())
            .append("productId", getProductId())
            .append("pid", getPid())
            .append("orderBy", getOrderBy())
            .append("addTime", getAddTime())

            .append("isOn", getIsOn())
            .toString();
    }
}
